import {request} from '../../assets/js/utils/request';
import config from "../../assets/js/conf/config";
//注册会员
export function regUserData(data){
  return request(config.baseApi+"/home/user/reg?token="+config.token,"post",data)
}

//会员登录
export function doLoginData(data){
  return request(config.baseApi+"/home/user/pwdlogin?token="+config.token,"post",data);
}

//会员token验证
export function safeUserData(data){
  return request(config.baseApi+"/home/user/safe?token="+config.token,"post",data);
}

//安全退出
export function outLoginData(data){
  return request(config.baseApi+"/home/user/safeout?token="+config.token,"post",data);
}
